package cn.okcode.api.framework.dispatcher;

import java.lang.reflect.Type;

/**
 * @author pyk13
 */
public class ParamDefinition {
    private Class<?> parameterType;
    private String name;
    private boolean required;
    private String blankText;
    private boolean simpleType;
    private Type parameterizedType;

    public Class<?> getParameterType() {
        return parameterType;
    }

    public void setParameterType(Class<?> parameterType) {
        this.parameterType = parameterType;
    }

    public Type getParameterizedType() {
        return parameterizedType;
    }

    public void setParameterizedType(Type parameterizedType) {
        this.parameterizedType = parameterizedType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public String getBlankText() {
        return blankText;
    }

    public void setBlankText(String blankText) {
        this.blankText = blankText;
    }

    public boolean isSimpleType() {
        return simpleType;
    }

    public void setSimpleType(boolean simpleType) {
        this.simpleType = simpleType;
    }
}
